<template>
      <el-card class="box-card" style="background-color: #3C3F41; color: #9E9F9F;height: 595px">
        <el-button type="primary" @click="start_axios">点击开始机械臂</el-button>
        <div style="margin-top: 20px">
          <UnitTest></UnitTest>
        </div>
      </el-card>

</template>

<script>
  import MessageBox from "./LogBoard/MessageBox";
  import UnitTest from "./UnitTest";
  import { mapState } from 'vuex'
    export default {
        name: "StartAxios",
        components: {
          MessageBox, UnitTest
        },
      computed: {
          ...mapState([
            'ws',
          ])
      },
        data(){
          return{
            message: "Message Item",
            logLevel: "error",
          }
        },
      methods:{
        start_axios(){
          this.ws.send('start kwsk')
        }
      }
    }
</script>

<style scoped>

</style>
